<script setup>

</script>

<template>

</template>

<style scoped>
.body-weather {
  .container {
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 1.5rem 10rem 0 10rem;
    max-width: 1536px;
    color: #ffffff;
    text-align: center;

    .head {
      margin-bottom: 2rem;
      margin-top: 1rem;

      input {
        color: #ffffff;
        box-sizing: border-box;
        padding: 0.5rem 0.25rem;
        background-color: transparent;
        border: none;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
        font-size: 100%;
        line-height: 1.5rem;

        &::placeholder {
          color: #9ca3af;
        }

        &:focus {
          border: none;
          outline: none;
          box-shadow: 0 3px 3px black;
          color: rgb(243, 242, 241);
        }
      }

      ul {
        color: #fff;
        margin-top: 5px;
        padding: 0.5rem 0.25rem;
        background-color: #004e71;

        .no-city {
          text-align: left;
          line-height: 1.25rem;
        }

        .have-city {
          line-height: 1.25rem;
          padding: 0.5rem 0;
          cursor: pointer;
          text-align: left;

          a {
            display: block;
            color: #ffffff;
            text-decoration: none;
          }
        }
      }
    }

    p {
      line-height: 1.25rem;
    }

    h3 {
      text-align: left;
      margin-top: 1.5rem;
      line-height: 1.5rem;
    }

    .city-storage {
      max-height: 300px;
      overflow: auto;

      .outer {
        display: flex;
        justify-content: space-between;

        &:hover {
          .city {
            width: 75%;
          }

          .btn {
            button {
              display: block;
            }
          }
        }

        .city {
          display: flex;
          justify-content: space-between;
          align-items: center;
          background-color: #004e71;
          padding: 0.5rem 1rem;
          width: 100%;
          margin-bottom: 1rem;
          color: #ffffff;
          cursor: pointer;
          transition-duration: 0.3s;

          h3 {
            margin-top: 0;
          }
        }

        .btn {
          margin-bottom: 1rem;
          display: flex;
          gap: 0.5rem;

          button {
            display: none;
            height: 2.5rem;
            min-width: 5rem;
            padding: 0.5rem 1.5rem;
            background-color: #eab308;
            color: #fff;
            font-size: 1rem;
            line-height: 1.5rem;
            border: none;
            border-radius: 2px;
            cursor: pointer;

          }
        }
      }
    }
  }
}
</style>